From: Stefan Monnier Date: Tue, 30 Apr 2002 01:00:48 +0000 (+0000) Subject: (init_cmdargs): Update call to openp. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~57380 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=10c0915e8d86bdcd5c309e48ace834b7e15a6d1e;p=emacs.git (init_cmdargs): Update call to openp. --- diff --git a/src/emacs.c b/src/emacs.c index d0bd50222a0..e83e46af14b 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -447,7 +447,7 @@ init_cmdargs (argc, argv, skip_args) { Lisp_Object found; int yes = openp (Vexec_path, Vinvocation_name, - Vexec_suffixes, &found, 1); + Vexec_suffixes, &found, make_number (X_OK)); if (yes == 1) { /* Add /: to the front of the name